package com.geetour.columbus.region.bo;

import java.util.List;

import com.geetour.columbus.common.exceptions.BOException;
import com.geetour.columbus.common.model.D.City;
import com.geetour.columbus.common.model.D.District;
import com.geetour.columbus.common.model.D.Province;

public interface IRegionDictBO {

    /**
     * 得到所有省份
     * 
     * @return
     */
    public List<Province> getAllProvinces() throws BOException;

    /**
     * 根据省份ID得到地市
     * 
     * @param id
     * @return
     */
    public List<City> getCitysByProvinceId(Long id) throws BOException;

    /**
     * 根据地市ID得到区县
     * 
     * @param id
     * @return
     */
    public List<District> getDistrictsByCityId(Long id) throws BOException;
}
